import request from '@/utils/request'

export function onloadingnovel(data) {
    return request({
      url: '/admin/addnovel',
      // method: 'ge',
      method:"post",
      data:data
      
  
    })

    
  }
export function addnovelitem(data) {
    return request({
      url: '/admin/addnovelitem',
      // method: 'ge',
      method:"post",
      data:data
    })

    
  }








  export function getclasspid() {
    return request({
      url: '/admin/getclass',
      method: 'post'
    })
  }




  
  //万能查询小说 
  export function getnovelandpart(data) {
    return request({
      url: '/admin/getnovelandpart',
      method: 'post',
      data:{ 
          ...data
      }
    })
  }

  // 章节 
  
export function partlist(data) {
  return request({
    url: '/admin/partlist',
    // method: 'ge',
    method:"post",
    data:data
  })
}
  // 添加收费状态 
  
export function novelpartstatus(data) {
  return request({
    url: '/admin/novelpartstatus',
    // method: 'ge',
    method:"post",
    data:data
  })
}
  // 修改文章内容 
  
export function novelpartcontent(data) {
  return request({
    url: '/admin/novelpartcontent',
    // method: 'ge',
    method:"post",
    data:data
  })
}

export function deletenovel(data) {
  return request({
    url: '/admin/deltenovel',
    // method: 'ge',
    method:"post",
    data:data
  })
}
//上线
export function approveStatus(data) {
  return request({
    url: '/admin/approveStatus',
    // method: 'ge',
    method:"post",
    data:data
  })
}
export function ishot(data) {
  return request({
    url: '/admin/ishot',
    // method: 'ge',
    method:"post",
    data:data
  })
}

export function evaluateNum(data) {
  return request({
    url: '/admin/evaluateNum',
    // method: 'ge',
    method:"post",
    data:data
  })
}








